﻿Public Class frmTransparente

    '---------------------------------------> Clase creada por Maria Jose Rivera <----------------------------------------

    Private Sub frmTransparente_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None 'Elimina el borde de la ventana
        frmSecundario.Show() 'Muestra el form secundario
        Me.AddOwnedForm(frmSecundario) 'Asigna un form hijo a frmTransparente
    End Sub

    Shared Sub AgregarContenido(frm As Control)
        frmSecundario.paneSecundario.Controls.Add(frm)
    End Sub

End Class